package p.ithorns.support.license.model;

import lombok.Getter;
import lombok.Setter;

/**
 * AuthorizeCode
 *
 * @author Ht.L
 * @date 2023-12-12 16:18
 * @since 1.0.0
 */
@Getter
@Setter
public class Authorize {
    /**
     * 公钥
     */
    private String publicKey;

    /**
     * 授权码
     */
    private String authCode;

    /**
     * feed
     */
    private String feed;

    public Authorize() {
    }

    public Authorize(String publicKey, String authCode) {
        this.publicKey = publicKey;
        this.authCode = authCode;
    }

    @Override
    public String toString() {
        return "{" +
                "publicKey:'" + publicKey + '\'' +
                ", authCode:'" + authCode + '\'' +
                "}";
    }
}